/*
** serveur_ftp.h for ftp in /home/morgan_t/Documents/svn-for-my-proj/tek2/UNIX/my_ftp
** 
** Made by thomas morgant
** Login   <morgan_t@epitech.net>
** 
** Started on  Tue Apr  3 15:46:00 2012 thomas morgant
** Last update Sat Apr  7 19:16:27 2012 thomas morgant
*/

#ifndef _FTP_H_
# define _FTP_H_

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/* #include <ncurses.h> */

# define INVALID_SOCKET -1
# define SOCKET_ERROR -1
# define closesocket(s) close(s)
# define ESC 27

typedef int	SOCK;
typedef	struct	sockaddr_in	t_socket_in;
typedef	struct	sockaddr	t_socket; 

char            **str_to_wordtab(char *str, char sep);
char            *get_next_line(int fd);

#endif /* _SERVEUR_FTP_H_ */
